package com.homework.week5_2.bean;

import org.springframework.stereotype.Component;

@Component
public class Book {
    private String name;
    private Integer page;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }
}
